home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 January - Disc 2
/
Macworld (1999-01) (Disk 2).dmg
/
Serious Demos
/
Symbolic Composer 4.2
/
Environment
/
System
/
CADAR
/
Symbols
/
Chords
/
select-inverted-chords-rnd
< prev
Wrap
Text File
|
1998-10-22
|
660b
|
19 lines
select-inverted-chords-rnd list-of-chords n
&key (scale 'chromatic) (seed nil)
n = number of repeats
takes a list of chords and finds all close-position
inversions
then picks randomly among inversions of the first
chord and finally finds closest moves to the
inversions of rest of the chords
(select-inverted-chords-rnd '(ace bdf beg) 3 :seed 0.2)
->(emo fnp gnq ace bdf beg cem dfn egn)
(select-inverted-chords-rnd '(ace bdf beg) 5 :seed 0.3)
->(cem dfn egn emo fnp gnq emo fnp gnq emo fnp gnq emo fnp gnq)
(select-inverted-chords-rnd '(ace bdf beg) 5 :scale 'major :seed 0.3)
->(ceh dfi beg -dac -cbd -bbe -dac -cbd -bbe -dac -cbd -bbe -dac -cbd -bbe)